function handleClick() {
	
	var oRow;
    var id;
    if (arguments.length==0)
            return;
    oRow=arguments[0];
    var admissionYear=oRow.cells(1).innerText;
    var specialityId=oRow.cells(2).innerText;
    
	var w = window.dialogArguments;
	w.parent.frames("btnFrm").document.getElementById("specialityId").value = specialityId;
	w.parent.frames("btnFrm").document.getElementById("admissionYear").value = admissionYear;
	window.close();
}

function handleDblClick() {
	handleClick();
}